
package org.darcy.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Table;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@ApiModel("社会化登录应用: SysSocialConfig")
@Table(name = "sys_social_config")
@Getter
@Setter
public class SysSocialConfig implements Serializable{
	
	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty(value="")
	@TableId(type= IdType.AUTO)
	private Long id;
	
	@ApiModelProperty(value="应用ID")
	private String clientId;
	
	@ApiModelProperty(value="应用密钥")
	private String clientSecret;
	
	@ApiModelProperty(value="认证成功后跳转的地址")
	private String redirectUri;
	
	@ApiModelProperty(value="应用名")
	private String platformName;
	
	@ApiModelProperty(value="第三方平台")
	private String platform;
	
	@ApiModelProperty(value="应用 LOGO")
	private String logo;
	
	@ApiModelProperty(value="支付宝公钥")
	private String alipayPublicKey;
	
	@ApiModelProperty(value="是否需要申请unionid")
	private Boolean unionId;
	
	@ApiModelProperty(value="Stack Overflow Key")
	private String stackOverflowKey;
	
	@ApiModelProperty(value="授权方的网页应用ID")
	private String agentId;
	
	@ApiModelProperty(value="授权范围")
	private String scope;
	
	@ApiModelProperty(value="当前配置是否可用")
	private Boolean available;
	
	@ApiModelProperty(value="记录创建时间")
	private Date createTime;
	
	@ApiModelProperty(value="记录更新时间")
	private Date updateTime;
	


}
